VERSION = 1.2
DOCTITLE = Cream version $(VERSION) Core API Specification
WEBPAGE = http://bach.scitec.kobe-u.ac.jp/cream/
WEBTITLE = Cream: Constraint Programming Class Library for Java
PACKAGE = jp.ac.kobe_u.cs.cream
JAVADOC  = LANG=C javadoc -locale en_US \
	-windowtitle '$(DOCTITLE)' -doctitle '$(DOCTITLE)' \
	-header '<em><b>$(DOCTITLE)</b></em><br>' \
	-bottom '<address><a href="$(WEBPAGE)">$(WEBTITLE)</a></address>'
#	-link http://java.sun.com/j2se/1.4/docs/api \

all:
	rm -rf api
	$(JAVADOC) -public -d api -classpath ../cream.jar ../src/*.java
	(cd sdoc; $(MAKE))

clean:
	(cd sdoc; $(MAKE) clean)
	rm -rf api *~

